﻿
/*
本文件由工具自动生成 请勿手动修改！！！
*/

using System;
using System.Collections.Generic;

namespace ServerBase.Protocol
{
    /// <summary>
    /// 奖励物品
    /// <summary>
    public partial class CLS_AwardItem
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Type);
            nbs.Write(ConfigId);
            nbs.Write(Count);
            nbs.Write(Level);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Type);
            nbs.Read(out ConfigId);
            nbs.Read(out Count);
            nbs.Read(out Level);
        }
    };
    /// <summary>
    /// 奖励物品列表
    /// <summary>
    public partial class CLS_ListAwardItem
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(ListAward.Count);
            foreach (var k in ListAward)
            {
                k.Serialize(ref nbs);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            int var4 = nbs.ReadInt();
            for (int k = 0; k < var4; k++)
            {
                var var5 = new CLS_AwardItem(); var5.Unserialize(ref nbs);ListAward.Add(var5);
            }
        }
    };
    /// <summary>
    /// 当前数量和上限数量
    /// <summary>
    public partial class CLS_CountInfo
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Value);
            nbs.Write(Limit);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Value);
            nbs.Read(out Limit);
        }
    };
    /// <summary>
    /// 需求数量和当前数量
    /// <summary>
    public partial class CLS_NeedInfo
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Need);
            nbs.Write(Value);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Need);
            nbs.Read(out Value);
        }
    };
    /// <summary>
    /// 当前数量和原来数量
    /// <summary>
    public partial class CLS_ValueChangeInfo
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(ValueOld);
            nbs.Write(ValueNew);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out ValueOld);
            nbs.Read(out ValueNew);
        }
    };
    /// <summary>
    /// 类示例
    /// <summary>
    public partial class CLS_BaseDemo
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(a1);
            nbs.Write(a2);
            nbs.Write(a3);
            nbs.Write(a4);
            nbs.Write(a5);
            nbs.Write(a6);
            nbs.Write(a7);
            nbs.Write(d1);
            nbs.Write(d2);
            nbs.Write((short)BaseDemo);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out a1);
            nbs.Read(out a2);
            nbs.Read(out a3);
            nbs.Read(out a4);
            nbs.Read(out a5);
            nbs.Read(out a6);
            nbs.Read(out a7);
            nbs.Read(out d1);
            nbs.Read(out d2);
            if (true) { var etemp = nbs.ReadShort(); BaseDemo = (EnumBaseDemo)etemp; }
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_BASE_DEMO
    /// 示例
    /// <summary>
    public partial class C2G_Base_Demo
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(a1);
            nbs.Write(a2);
            nbs.Write(a3);
            nbs.Write(a4);
            nbs.Write(a5);
            nbs.Write(a6);
            nbs.Write(a7);
            nbs.Write(d1);
            nbs.Write(d2);
            nbs.Write((short)eBaseDemo);
            BaseDemo.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out a1);
            nbs.Read(out a2);
            nbs.Read(out a3);
            nbs.Read(out a4);
            nbs.Read(out a5);
            nbs.Read(out a6);
            nbs.Read(out a7);
            nbs.Read(out d1);
            nbs.Read(out d2);
            if (true) { var etemp = nbs.ReadShort(); eBaseDemo = (EnumBaseDemo)etemp; }
            BaseDemo.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(a1);
            nbs.Write(a2);
            nbs.Write(a3);
            nbs.Write(a4);
            nbs.Write(a5);
            nbs.Write(a6);
            nbs.Write(a7);
            nbs.Write(d1);
            nbs.Write(d2);
            nbs.Write((short)eBaseDemo);
            BaseDemo.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out a1);
            nbs.Read(out a2);
            nbs.Read(out a3);
            nbs.Read(out a4);
            nbs.Read(out a5);
            nbs.Read(out a6);
            nbs.Read(out a7);
            nbs.Read(out d1);
            nbs.Read(out d2);
            if (true) { var etemp = nbs.ReadShort(); eBaseDemo = (EnumBaseDemo)etemp; }
            BaseDemo.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_BASE_DEMO
    /// 示例
    /// <summary>
    public partial class G2C_Base_Demo
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(a1);
            nbs.Write(a2);
            nbs.Write(a3);
            nbs.Write(a4);
            nbs.Write(a5);
            nbs.Write(a6);
            nbs.Write(a7);
            nbs.Write(d1);
            nbs.Write(d2);
            nbs.Write((short)eBaseDemo);
            BaseDemo.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out a1);
            nbs.Read(out a2);
            nbs.Read(out a3);
            nbs.Read(out a4);
            nbs.Read(out a5);
            nbs.Read(out a6);
            nbs.Read(out a7);
            nbs.Read(out d1);
            nbs.Read(out d2);
            if (true) { var etemp = nbs.ReadShort(); eBaseDemo = (EnumBaseDemo)etemp; }
            BaseDemo.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(a1);
            nbs.Write(a2);
            nbs.Write(a3);
            nbs.Write(a4);
            nbs.Write(a5);
            nbs.Write(a6);
            nbs.Write(a7);
            nbs.Write(d1);
            nbs.Write(d2);
            nbs.Write((short)eBaseDemo);
            BaseDemo.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out a1);
            nbs.Read(out a2);
            nbs.Read(out a3);
            nbs.Read(out a4);
            nbs.Read(out a5);
            nbs.Read(out a6);
            nbs.Read(out a7);
            nbs.Read(out d1);
            nbs.Read(out d2);
            if (true) { var etemp = nbs.ReadShort(); eBaseDemo = (EnumBaseDemo)etemp; }
            BaseDemo.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_BASE_RESULT
    /// 结果返回
    /// <summary>
    public partial class G2C_Base_Result
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(HandleId);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out HandleId);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(HandleId);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out HandleId);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_BASE_PING
    /// Ping服务器
    /// <summary>
    public partial class C2G_Base_Ping
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_BASE_PING
    /// Ping服务器
    /// <summary>
    public partial class G2C_Base_Ping
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ServerTime);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out ServerTime);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ServerTime);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out ServerTime);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_BASE_GAMEVERSION
    /// 同步版本号
    /// <summary>
    public partial class C2G_Base_GameVersion
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_BASE_GAMEVERSION
    /// 同步版本号
    /// <summary>
    public partial class G2C_Base_GameVersion
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(GameVersion);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out GameVersion);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(GameVersion);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out GameVersion);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_BASE_CONFIRM
    /// 消息确认
    /// <summary>
    public partial class C2G_Base_Confirm
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_BASE_CONFIRM
    /// 消息确认
    /// <summary>
    public partial class G2C_Base_Confirm
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 服务器负载信息
    /// <summary>
    public partial class CLS_ServerLoadInfo
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(ConfigId);
            nbs.Write(ServerIp);
            nbs.Write(ServerPort);
            nbs.Write((short)ServerState);
            nbs.Write(CountOnline);
            nbs.Write(ProcessId);
            nbs.Write(Cpu);
            nbs.Write(Memory);
            nbs.Write(Threads);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out ConfigId);
            nbs.Read(out ServerIp);
            nbs.Read(out ServerPort);
            if (true) { var etemp = nbs.ReadShort(); ServerState = (EServerState)etemp; }
            nbs.Read(out CountOnline);
            nbs.Read(out ProcessId);
            nbs.Read(out Cpu);
            nbs.Read(out Memory);
            nbs.Read(out Threads);
        }
    };
    /// <summary>
    /// 对应协议枚举-> L2C_LOGIN_CONNECT
    /// 连接成功
    /// <summary>
    public partial class L2C_Login_Connect
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2L_LOGIN_NOTICESYSTEM
    /// 请求 系统公告
    /// <summary>
    public partial class C2L_Login_NoticeSystem
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> L2C_LOGIN_NOTICESYSTEM
    /// 返回 系统公告
    /// <summary>
    public partial class L2C_Login_NoticeSystem
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Text);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Text);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Text);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Text);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2L_LOGIN_NOTICEACTIVITY
    /// 请求 活动公告
    /// <summary>
    public partial class C2L_Login_NoticeActivity
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> L2C_LOGIN_NOTICEACTIVITY
    /// 返回 活动公告
    /// <summary>
    public partial class L2C_Login_NoticeActivity
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ListText.Count);
            foreach (var k in ListText)
            {
                nbs.Write(k);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var83 = nbs.ReadInt();
            for (int k = 0; k < var83; k++)
            {
                string var84 = nbs.ReadString();ListText.Add(var84);
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ListText.Count);
            foreach (var k in ListText)
            {
                nbs.Write(k);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var85 = nbs.ReadInt();
            for (int k = 0; k < var85; k++)
            {
                string var86 = nbs.ReadString();ListText.Add(var86);
            }
        }
    };
    /// <summary>
    /// 服务器信息
    /// <summary>
    public partial class CLS_ServerGameInfo
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(ConfigId);
            nbs.Write(ServerIp);
            nbs.Write(ServerPort);
            nbs.Write((short)ServerState);
            nbs.Write(CountOnline);
            nbs.Write(PlayerName);
            nbs.Write(PlayerLevel);
            nbs.Write(ServerArea);
            nbs.Write(ServerName);
            nbs.Write(ServerStatus);
            nbs.Write(Recommend);
            nbs.Write(NewSever);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out ConfigId);
            nbs.Read(out ServerIp);
            nbs.Read(out ServerPort);
            if (true) { var etemp = nbs.ReadShort(); ServerState = (EServerState)etemp; }
            nbs.Read(out CountOnline);
            nbs.Read(out PlayerName);
            nbs.Read(out PlayerLevel);
            nbs.Read(out ServerArea);
            nbs.Read(out ServerName);
            nbs.Read(out ServerStatus);
            nbs.Read(out Recommend);
            nbs.Read(out NewSever);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2L_LOGIN_USERLOGIN
    /// 请求 登陆用户账号
    /// <summary>
    public partial class C2L_Login_UserLogin
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Account);
            nbs.Write(Password);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Account);
            nbs.Read(out Password);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Account);
            nbs.Write(Password);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Account);
            nbs.Read(out Password);
        }
    };
    /// <summary>
    /// 对应协议枚举-> L2C_LOGIN_USERLOGIN
    /// 返回 登陆用户账号
    /// <summary>
    public partial class L2C_Login_UserLogin
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uuid);
            nbs.Write(Code);
            nbs.Write(NeedAgree);
            nbs.Write(DictServer.Count);
            foreach (var kvp in DictServer)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uuid);
            nbs.Read(out Code);
            nbs.Read(out NeedAgree);
            int var106 = nbs.ReadInt();
            for (int k = 0; k < var106; k++)
            {
                int var107 = nbs.ReadInt(); var var108 = new CLS_ServerGameInfo(); var108.Unserialize(ref nbs); DictServer.Add(var107, var108); 
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uuid);
            nbs.Write(Code);
            nbs.Write(NeedAgree);
            nbs.Write(DictServer.Count);
            foreach (var kvp in DictServer)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uuid);
            nbs.Read(out Code);
            nbs.Read(out NeedAgree);
            int var112 = nbs.ReadInt();
            for (int k = 0; k < var112; k++)
            {
                int var113 = nbs.ReadInt(); var var114 = new CLS_ServerGameInfo(); var114.Unserialize(ref nbs); DictServer.Add(var113, var114); 
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2L_LOGIN_SDKLOGIN
    /// 请求 SDK登录
    /// <summary>
    public partial class C2L_Login_SdkLogin
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write((short)Platform);
            nbs.Write(ListArgs.Count);
            foreach (var k in ListArgs)
            {
                nbs.Write(k);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            if (true) { var etemp = nbs.ReadShort(); Platform = (EPlatform)etemp; }
            int var116 = nbs.ReadInt();
            for (int k = 0; k < var116; k++)
            {
                string var117 = nbs.ReadString();ListArgs.Add(var117);
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write((short)Platform);
            nbs.Write(ListArgs.Count);
            foreach (var k in ListArgs)
            {
                nbs.Write(k);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            if (true) { var etemp = nbs.ReadShort(); Platform = (EPlatform)etemp; }
            int var119 = nbs.ReadInt();
            for (int k = 0; k < var119; k++)
            {
                string var120 = nbs.ReadString();ListArgs.Add(var120);
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> L2C_LOGIN_SDKLOGIN
    /// 返回 SDK登录
    /// <summary>
    public partial class L2C_Login_SdkLogin
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write((short)Platform);
            nbs.Write(ListArgs.Count);
            foreach (var k in ListArgs)
            {
                nbs.Write(k);
            }
            nbs.Write(Uuid);
            nbs.Write(Code);
            nbs.Write(NeedAgree);
            nbs.Write(DictServer.Count);
            foreach (var kvp in DictServer)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            if (true) { var etemp = nbs.ReadShort(); Platform = (EPlatform)etemp; }
            int var122 = nbs.ReadInt();
            for (int k = 0; k < var122; k++)
            {
                string var123 = nbs.ReadString();ListArgs.Add(var123);
            }
            nbs.Read(out Uuid);
            nbs.Read(out Code);
            nbs.Read(out NeedAgree);
            int var127 = nbs.ReadInt();
            for (int k = 0; k < var127; k++)
            {
                int var128 = nbs.ReadInt(); var var129 = new CLS_ServerGameInfo(); var129.Unserialize(ref nbs); DictServer.Add(var128, var129); 
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write((short)Platform);
            nbs.Write(ListArgs.Count);
            foreach (var k in ListArgs)
            {
                nbs.Write(k);
            }
            nbs.Write(Uuid);
            nbs.Write(Code);
            nbs.Write(NeedAgree);
            nbs.Write(DictServer.Count);
            foreach (var kvp in DictServer)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            if (true) { var etemp = nbs.ReadShort(); Platform = (EPlatform)etemp; }
            int var131 = nbs.ReadInt();
            for (int k = 0; k < var131; k++)
            {
                string var132 = nbs.ReadString();ListArgs.Add(var132);
            }
            nbs.Read(out Uuid);
            nbs.Read(out Code);
            nbs.Read(out NeedAgree);
            int var136 = nbs.ReadInt();
            for (int k = 0; k < var136; k++)
            {
                int var137 = nbs.ReadInt(); var var138 = new CLS_ServerGameInfo(); var138.Unserialize(ref nbs); DictServer.Add(var137, var138); 
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_LOGIN_CONNECT
    /// 连接成功
    /// <summary>
    public partial class G2C_Login_Connect
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_LOGIN_PLAYERLOGIN
    /// 请求 登陆玩家
    /// <summary>
    public partial class C2G_Login_PlayerLogin
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uuid);
            nbs.Write(Code);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uuid);
            nbs.Read(out Code);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uuid);
            nbs.Write(Code);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uuid);
            nbs.Read(out Code);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_LOGIN_PLAYERLOGIN
    /// 返回 登陆玩家
    /// <summary>
    public partial class G2C_Login_PlayerLogin
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_LOGIN_PLAYERCREATE
    /// 请求 玩家创建
    /// <summary>
    public partial class C2G_Login_PlayerCreate
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Name);
            nbs.Write(Gender);
            nbs.Write(Family);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Name);
            nbs.Read(out Gender);
            nbs.Read(out Family);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Name);
            nbs.Write(Gender);
            nbs.Write(Family);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Name);
            nbs.Read(out Gender);
            nbs.Read(out Family);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_LOGIN_PLAYERCREATE
    /// 返回 玩家创建
    /// <summary>
    public partial class G2C_Login_PlayerCreate
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_LOGIN_REPLACED
    /// 通知玩家被取代连接
    /// <summary>
    public partial class G2C_Login_Replaced
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_LOGIN_BAN
    /// 通知玩家被封号
    /// <summary>
    public partial class G2C_Login_Ban
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_LOGIN_CHECKNAME
    /// 请求 检测名字
    /// <summary>
    public partial class C2G_Login_CheckName
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Name);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Name);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Name);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Name);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_LOGIN_CHECKNAME
    /// 返回 检测名字
    /// <summary>
    public partial class G2C_Login_CheckName
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_LOGIN_PUIDLOGIN
    /// 请求 管理员使用PUID直接登录
    /// <summary>
    public partial class C2G_Login_PuidLogin
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_LOGIN_PUIDLOGIN
    /// 返回 管理员使用PUID直接登录
    /// <summary>
    public partial class G2C_Login_PuidLogin
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_LOGIN_SERVEREXIT
    /// 通知服务器即将关闭
    /// <summary>
    public partial class G2C_Login_ServerExit
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 玩家基本信息
    /// <summary>
    public partial class CLS_Info_Base
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Puid);
            nbs.Write(Name);
            nbs.Write(Gender);
            nbs.Write(Family);
            nbs.Write(Title);
            nbs.Write(Age);
            nbs.Write(Level);
            nbs.Write(Exp);
            nbs.Write(Gem);
            nbs.Write(Gold);
            nbs.Write(Pot);
            nbs.Write(VipLevel);
            nbs.Write(VipExp);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Puid);
            nbs.Read(out Name);
            nbs.Read(out Gender);
            nbs.Read(out Family);
            nbs.Read(out Title);
            nbs.Read(out Age);
            nbs.Read(out Level);
            nbs.Read(out Exp);
            nbs.Read(out Gem);
            nbs.Read(out Gold);
            nbs.Read(out Pot);
            nbs.Read(out VipLevel);
            nbs.Read(out VipExp);
        }
    };
    /// <summary>
    /// 玩家杂项信息
    /// <summary>
    public partial class CLS_Info_Misc
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(ServerConfigId);
            nbs.Write(ServerTime);
            nbs.Write(ServerTimeOpen);
            nbs.Write(DtRegister);
            nbs.Write(DictFlagClient.Count);
            foreach (var kvp in DictFlagClient)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
            nbs.Write(DictFlagClientDaily.Count);
            foreach (var kvp in DictFlagClientDaily)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
            nbs.Write(DictFlagInt.Count);
            foreach (var kvp in DictFlagInt)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
            nbs.Write(DictFlagBool.Count);
            foreach (var kvp in DictFlagBool)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out ServerConfigId);
            nbs.Read(out ServerTime);
            nbs.Read(out ServerTimeOpen);
            nbs.Read(out DtRegister);
            int var168 = nbs.ReadInt();
            for (int k = 0; k < var168; k++)
            {
                int var169 = nbs.ReadInt(); int var170 = nbs.ReadInt(); DictFlagClient.Add(var169, var170); 
            }
            int var171 = nbs.ReadInt();
            for (int k = 0; k < var171; k++)
            {
                int var172 = nbs.ReadInt(); int var173 = nbs.ReadInt(); DictFlagClientDaily.Add(var172, var173); 
            }
            int var174 = nbs.ReadInt();
            for (int k = 0; k < var174; k++)
            {
                int var175 = nbs.ReadInt(); int var176 = nbs.ReadInt(); DictFlagInt.Add(var175, var176); 
            }
            int var177 = nbs.ReadInt();
            for (int k = 0; k < var177; k++)
            {
                int var178 = nbs.ReadInt(); bool var179 = nbs.ReadBool(); DictFlagBool.Add(var178, var179); 
            }
        }
    };
    /// <summary>
    /// 玩家游戏信息
    /// <summary>
    public partial class CLS_Info_Game
    {
        public void Serialize(ref NetBitStream nbs)
        {
        }
        public void Unserialize(ref NetBitStream nbs)
        {
        }
    };
    /// <summary>
    /// 玩家属性信息
    /// <summary>
    public partial class CLS_Info_Prop
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(str);
            nbs.Write(itn);
            nbs.Write(con);
            nbs.Write(spi);
            nbs.Write(cps);
            nbs.Write(cor);
            nbs.Write(per);
            nbs.Write(kar);
            nbs.Write(kee);
            nbs.Write(sen);
            nbs.Write(force);
            nbs.Write(mana);
            nbs.Write(food);
            nbs.Write(water);
            nbs.Write(efkee);
            nbs.Write(efsen);
            nbs.Write(mxkee);
            nbs.Write(mxsen);
            nbs.Write(mxforce);
            nbs.Write(mxmana);
            nbs.Write(mxfood);
            nbs.Write(mxwater);
            nbs.Write(adstr);
            nbs.Write(aditn);
            nbs.Write(adcon);
            nbs.Write(adspi);
            nbs.Write(adcps);
            nbs.Write(adcor);
            nbs.Write(adper);
            nbs.Write(adkar);
            nbs.Write(adkee);
            nbs.Write(adsen);
            nbs.Write(adforce);
            nbs.Write(admana);
            nbs.Write(adfood);
            nbs.Write(adwater);
            nbs.Write(damage);
            nbs.Write(armor);
            nbs.Write(cattack);
            nbs.Write(cdefence);
            nbs.Write(cdodge);
            nbs.Write(cparry);
            nbs.Write(cforce);
            nbs.Write(cspell);
            nbs.Write(cbtdamage);
            nbs.Write(cbtarmor);
            nbs.Write(cbtattack);
            nbs.Write(cbtdefence);
            nbs.Write(cbtdodge);
            nbs.Write(cbtparry);
            nbs.Write(cbtforce);
            nbs.Write(cbtspell);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out str);
            nbs.Read(out itn);
            nbs.Read(out con);
            nbs.Read(out spi);
            nbs.Read(out cps);
            nbs.Read(out cor);
            nbs.Read(out per);
            nbs.Read(out kar);
            nbs.Read(out kee);
            nbs.Read(out sen);
            nbs.Read(out force);
            nbs.Read(out mana);
            nbs.Read(out food);
            nbs.Read(out water);
            nbs.Read(out efkee);
            nbs.Read(out efsen);
            nbs.Read(out mxkee);
            nbs.Read(out mxsen);
            nbs.Read(out mxforce);
            nbs.Read(out mxmana);
            nbs.Read(out mxfood);
            nbs.Read(out mxwater);
            nbs.Read(out adstr);
            nbs.Read(out aditn);
            nbs.Read(out adcon);
            nbs.Read(out adspi);
            nbs.Read(out adcps);
            nbs.Read(out adcor);
            nbs.Read(out adper);
            nbs.Read(out adkar);
            nbs.Read(out adkee);
            nbs.Read(out adsen);
            nbs.Read(out adforce);
            nbs.Read(out admana);
            nbs.Read(out adfood);
            nbs.Read(out adwater);
            nbs.Read(out damage);
            nbs.Read(out armor);
            nbs.Read(out cattack);
            nbs.Read(out cdefence);
            nbs.Read(out cdodge);
            nbs.Read(out cparry);
            nbs.Read(out cforce);
            nbs.Read(out cspell);
            nbs.Read(out cbtdamage);
            nbs.Read(out cbtarmor);
            nbs.Read(out cbtattack);
            nbs.Read(out cbtdefence);
            nbs.Read(out cbtdodge);
            nbs.Read(out cbtparry);
            nbs.Read(out cbtforce);
            nbs.Read(out cbtspell);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_INFO_GETALL
    /// 请求 玩家全部信息
    /// <summary>
    public partial class C2G_Info_GetAll
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_INFO_GETALL
    /// 返回 玩家全部信息
    /// <summary>
    public partial class G2C_Info_GetAll
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            InfoBase.Serialize(ref nbs);
            InfoMisc.Serialize(ref nbs);
            InfoGame.Serialize(ref nbs);
            InfoProp.Serialize(ref nbs);
            nbs.Write(DictProp.Count);
            foreach (var kvp in DictProp)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            InfoBase.Unserialize(ref nbs);
            InfoMisc.Unserialize(ref nbs);
            InfoGame.Unserialize(ref nbs);
            InfoProp.Unserialize(ref nbs);
            int var236 = nbs.ReadInt();
            for (int k = 0; k < var236; k++)
            {
                int var237 = nbs.ReadInt(); int var238 = nbs.ReadInt(); DictProp.Add(var237, var238); 
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            InfoBase.Serialize(ref nbs);
            InfoMisc.Serialize(ref nbs);
            InfoGame.Serialize(ref nbs);
            InfoProp.Serialize(ref nbs);
            nbs.Write(DictProp.Count);
            foreach (var kvp in DictProp)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            InfoBase.Unserialize(ref nbs);
            InfoMisc.Unserialize(ref nbs);
            InfoGame.Unserialize(ref nbs);
            InfoProp.Unserialize(ref nbs);
            int var243 = nbs.ReadInt();
            for (int k = 0; k < var243; k++)
            {
                int var244 = nbs.ReadInt(); int var245 = nbs.ReadInt(); DictProp.Add(var244, var245); 
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_INFO_PUSHALL
    /// 推送 玩家信息 全部
    /// <summary>
    public partial class G2C_Info_PushAll
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            InfoBase.Serialize(ref nbs);
            InfoMisc.Serialize(ref nbs);
            InfoGame.Serialize(ref nbs);
            InfoProp.Serialize(ref nbs);
            nbs.Write(DictProp.Count);
            foreach (var kvp in DictProp)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            InfoBase.Unserialize(ref nbs);
            InfoMisc.Unserialize(ref nbs);
            InfoGame.Unserialize(ref nbs);
            InfoProp.Unserialize(ref nbs);
            int var250 = nbs.ReadInt();
            for (int k = 0; k < var250; k++)
            {
                int var251 = nbs.ReadInt(); int var252 = nbs.ReadInt(); DictProp.Add(var251, var252); 
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            InfoBase.Serialize(ref nbs);
            InfoMisc.Serialize(ref nbs);
            InfoGame.Serialize(ref nbs);
            InfoProp.Serialize(ref nbs);
            nbs.Write(DictProp.Count);
            foreach (var kvp in DictProp)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            InfoBase.Unserialize(ref nbs);
            InfoMisc.Unserialize(ref nbs);
            InfoGame.Unserialize(ref nbs);
            InfoProp.Unserialize(ref nbs);
            int var257 = nbs.ReadInt();
            for (int k = 0; k < var257; k++)
            {
                int var258 = nbs.ReadInt(); int var259 = nbs.ReadInt(); DictProp.Add(var258, var259); 
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_INFO_PUSHBASE
    /// 推送 玩家信息 基础
    /// <summary>
    public partial class G2C_Info_PushBase
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            InfoBase.Serialize(ref nbs);
            InfoMisc.Serialize(ref nbs);
            InfoProp.Serialize(ref nbs);
            nbs.Write(DictProp.Count);
            foreach (var kvp in DictProp)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            InfoBase.Unserialize(ref nbs);
            InfoMisc.Unserialize(ref nbs);
            InfoProp.Unserialize(ref nbs);
            int var263 = nbs.ReadInt();
            for (int k = 0; k < var263; k++)
            {
                int var264 = nbs.ReadInt(); int var265 = nbs.ReadInt(); DictProp.Add(var264, var265); 
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            InfoBase.Serialize(ref nbs);
            InfoMisc.Serialize(ref nbs);
            InfoProp.Serialize(ref nbs);
            nbs.Write(DictProp.Count);
            foreach (var kvp in DictProp)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            InfoBase.Unserialize(ref nbs);
            InfoMisc.Unserialize(ref nbs);
            InfoProp.Unserialize(ref nbs);
            int var269 = nbs.ReadInt();
            for (int k = 0; k < var269; k++)
            {
                int var270 = nbs.ReadInt(); int var271 = nbs.ReadInt(); DictProp.Add(var270, var271); 
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_INFO_CHANGEFLAGCLIENT
    /// 请求 更改客户端特殊标记
    /// <summary>
    public partial class C2G_Info_ChangeFlagClient
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(FlagKey);
            nbs.Write(FlagValue);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out FlagKey);
            nbs.Read(out FlagValue);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(FlagKey);
            nbs.Write(FlagValue);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out FlagKey);
            nbs.Read(out FlagValue);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_INFO_CHANGEFLAGCLIENT
    /// 返回 更改客户端特殊标记
    /// <summary>
    public partial class G2C_Info_ChangeFlagClient
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(FlagKey);
            nbs.Write(FlagValue);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out FlagKey);
            nbs.Read(out FlagValue);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(FlagKey);
            nbs.Write(FlagValue);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out FlagKey);
            nbs.Read(out FlagValue);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_INFO_CHANGEFLAGCLIENTDAILY
    /// 请求 更改客户端特殊标记每日
    /// <summary>
    public partial class C2G_Info_ChangeFlagClientDaily
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(FlagKey);
            nbs.Write(FlagValue);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out FlagKey);
            nbs.Read(out FlagValue);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(FlagKey);
            nbs.Write(FlagValue);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out FlagKey);
            nbs.Read(out FlagValue);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_INFO_CHANGEFLAGCLIENTDAILY
    /// 返回 更改客户端特殊标记每日
    /// <summary>
    public partial class G2C_Info_ChangeFlagClientDaily
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(FlagKey);
            nbs.Write(FlagValue);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out FlagKey);
            nbs.Read(out FlagValue);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(FlagKey);
            nbs.Write(FlagValue);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out FlagKey);
            nbs.Read(out FlagValue);
        }
    };
    /// <summary>
    /// 玩家基本信息
    /// <summary>
    public partial class CLS_Info_Player
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Puid);
            nbs.Write(Name);
            nbs.Write(Gender);
            nbs.Write(Family);
            nbs.Write(IsOnline);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Puid);
            nbs.Read(out Name);
            nbs.Read(out Gender);
            nbs.Read(out Family);
            nbs.Read(out IsOnline);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_INFO_PLAYERFIND
    /// 请求 玩家单条信息
    /// <summary>
    public partial class C2G_Info_PlayerFind
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_INFO_PLAYERFIND
    /// 返回 玩家单条信息
    /// <summary>
    public partial class G2C_Info_PlayerFind
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            InfoPlayer.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            InfoPlayer.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            InfoPlayer.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            InfoPlayer.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_NOTICE_SYSTEM
    /// 请求 系统公告
    /// <summary>
    public partial class C2G_Notice_System
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_NOTICE_SYSTEM
    /// 返回 系统公告
    /// <summary>
    public partial class G2C_Notice_System
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Text);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Text);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Text);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Text);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_NOTICE_ACTIVITY
    /// 请求 活动公告
    /// <summary>
    public partial class C2G_Notice_Activity
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_NOTICE_ACTIVITY
    /// 返回 活动公告
    /// <summary>
    public partial class G2C_Notice_Activity
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ListText.Count);
            foreach (var k in ListText)
            {
                nbs.Write(k);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var299 = nbs.ReadInt();
            for (int k = 0; k < var299; k++)
            {
                string var300 = nbs.ReadString();ListText.Add(var300);
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ListText.Count);
            foreach (var k in ListText)
            {
                nbs.Write(k);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var301 = nbs.ReadInt();
            for (int k = 0; k < var301; k++)
            {
                string var302 = nbs.ReadString();ListText.Add(var302);
            }
        }
    };
    /// <summary>
    /// 走马灯信息
    /// <summary>
    public partial class CLS_NoticeRolling
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Type);
            nbs.Write(Text);
            nbs.Write(Count);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Type);
            nbs.Read(out Text);
            nbs.Read(out Count);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_NOTICE_ROLLING
    /// 发送 走马灯
    /// <summary>
    public partial class G2C_Notice_Rolling
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ListNoticeRolling.Count);
            foreach (var k in ListNoticeRolling)
            {
                k.Serialize(ref nbs);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var306 = nbs.ReadInt();
            for (int k = 0; k < var306; k++)
            {
                var var307 = new CLS_NoticeRolling(); var307.Unserialize(ref nbs);ListNoticeRolling.Add(var307);
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ListNoticeRolling.Count);
            foreach (var k in ListNoticeRolling)
            {
                k.Serialize(ref nbs);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var308 = nbs.ReadInt();
            for (int k = 0; k < var308; k++)
            {
                var var309 = new CLS_NoticeRolling(); var309.Unserialize(ref nbs);ListNoticeRolling.Add(var309);
            }
        }
    };
    /// <summary>
    /// 动态日志
    /// <summary>
    public partial class CLS_GameLog
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(GameLogTime);
            nbs.Write((short)GameLogType);
            nbs.Write(Args.Count);
            foreach (var k in Args)
            {
                nbs.Write(k);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out GameLogTime);
            if (true) { var etemp = nbs.ReadShort(); GameLogType = (EGameLogType)etemp; }
            int var312 = nbs.ReadInt();
            for (int k = 0; k < var312; k++)
            {
                string var313 = nbs.ReadString();Args.Add(var313);
            }
        }
    };
    /// <summary>
    /// 即时推送
    /// <summary>
    public partial class CLS_GameNotify
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write((short)GameNotifyType);
            nbs.Write(Args.Count);
            foreach (var k in Args)
            {
                nbs.Write(k);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            if (true) { var etemp = nbs.ReadShort(); GameNotifyType = (EGameNotifyType)etemp; }
            int var315 = nbs.ReadInt();
            for (int k = 0; k < var315; k++)
            {
                string var316 = nbs.ReadString();Args.Add(var316);
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_INFO_PUSHGAMENOTIFY
    /// 通知 即时推送
    /// <summary>
    public partial class G2C_Info_PushGameNotify
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            GameNotify.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            GameNotify.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            GameNotify.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            GameNotify.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_INFO_GETCONFTEXT
    /// 请求 客户端获取配置文本
    /// <summary>
    public partial class C2G_Info_GetConfText
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_INFO_GETCONFTEXT
    /// 返回 客户端获取配置文本
    /// <summary>
    public partial class G2C_Info_GetConfText
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(DictConfText.Count);
            foreach (var kvp in DictConfText)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var319 = nbs.ReadInt();
            for (int k = 0; k < var319; k++)
            {
                string var320 = nbs.ReadString(); string var321 = nbs.ReadString(); DictConfText.Add(var320, var321); 
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(DictConfText.Count);
            foreach (var kvp in DictConfText)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var322 = nbs.ReadInt();
            for (int k = 0; k < var322; k++)
            {
                string var323 = nbs.ReadString(); string var324 = nbs.ReadString(); DictConfText.Add(var323, var324); 
            }
        }
    };
    /// <summary>
    /// 邮件信息
    /// <summary>
    public partial class CLS_MailInfo
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Id);
            nbs.Write((short)MailType);
            nbs.Write(Title);
            nbs.Write(HasAttachments);
            nbs.Write(Readed);
            nbs.Write(Got);
            nbs.Write(Saved);
            nbs.Write(CreateTime);
            nbs.Write(Sended);
            nbs.Write(ReceiveName);
            nbs.Write(SenderName);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Id);
            if (true) { var etemp = nbs.ReadShort(); MailType = (EMailType)etemp; }
            nbs.Read(out Title);
            nbs.Read(out HasAttachments);
            nbs.Read(out Readed);
            nbs.Read(out Got);
            nbs.Read(out Saved);
            nbs.Read(out CreateTime);
            nbs.Read(out Sended);
            nbs.Read(out ReceiveName);
            nbs.Read(out SenderName);
        }
    };
    /// <summary>
    /// 邮件信息 详细
    /// <summary>
    public partial class CLS_MailInfoDetails
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Id);
            MailInfo.Serialize(ref nbs);
            nbs.Write(Body);
            nbs.Write(listAward.Count);
            foreach (var k in listAward)
            {
                k.Serialize(ref nbs);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Id);
            MailInfo.Unserialize(ref nbs);
            nbs.Read(out Body);
            int var339 = nbs.ReadInt();
            for (int k = 0; k < var339; k++)
            {
                var var340 = new CLS_AwardItem(); var340.Unserialize(ref nbs);listAward.Add(var340);
            }
        }
    };
    /// <summary>
    /// 邮件信息 发送
    /// <summary>
    public partial class CLS_MailInfoSend
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write((short)MailType);
            nbs.Write(Title);
            nbs.Write(Body);
            nbs.Write(SenderName);
            nbs.Write(ReceiveName);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            if (true) { var etemp = nbs.ReadShort(); MailType = (EMailType)etemp; }
            nbs.Read(out Title);
            nbs.Read(out Body);
            nbs.Read(out SenderName);
            nbs.Read(out ReceiveName);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_MAIL_LIST
    /// 请求 邮件列表
    /// <summary>
    public partial class C2G_Mail_List
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_MAIL_LIST
    /// 返回 邮件列表
    /// <summary>
    public partial class G2C_Mail_List
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ListMail.Count);
            foreach (var k in ListMail)
            {
                k.Serialize(ref nbs);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var346 = nbs.ReadInt();
            for (int k = 0; k < var346; k++)
            {
                var var347 = new CLS_MailInfo(); var347.Unserialize(ref nbs);ListMail.Add(var347);
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ListMail.Count);
            foreach (var k in ListMail)
            {
                k.Serialize(ref nbs);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var348 = nbs.ReadInt();
            for (int k = 0; k < var348; k++)
            {
                var var349 = new CLS_MailInfo(); var349.Unserialize(ref nbs);ListMail.Add(var349);
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_MAIL_READ
    /// 请求 邮件读取
    /// <summary>
    public partial class C2G_Mail_Read
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_MAIL_READ
    /// 返回 邮件读取
    /// <summary>
    public partial class G2C_Mail_Read
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
            Details.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
            Details.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
            Details.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
            Details.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_MAIL_GET
    /// 请求 邮件领取附件
    /// <summary>
    public partial class C2G_Mail_Get
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_MAIL_GET
    /// 返回 邮件领取附件
    /// <summary>
    public partial class G2C_Mail_Get
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
            nbs.Write(listAward.Count);
            foreach (var k in listAward)
            {
                k.Serialize(ref nbs);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
            int var359 = nbs.ReadInt();
            for (int k = 0; k < var359; k++)
            {
                var var360 = new CLS_AwardItem(); var360.Unserialize(ref nbs);listAward.Add(var360);
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
            nbs.Write(listAward.Count);
            foreach (var k in listAward)
            {
                k.Serialize(ref nbs);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
            int var362 = nbs.ReadInt();
            for (int k = 0; k < var362; k++)
            {
                var var363 = new CLS_AwardItem(); var363.Unserialize(ref nbs);listAward.Add(var363);
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_MAIL_GETALL
    /// 请求 邮件一键领取
    /// <summary>
    public partial class C2G_Mail_GetAll
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_MAIL_GETALL
    /// 返回 邮件一键领取
    /// <summary>
    public partial class G2C_Mail_GetAll
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(listAward.Count);
            foreach (var k in listAward)
            {
                k.Serialize(ref nbs);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var364 = nbs.ReadInt();
            for (int k = 0; k < var364; k++)
            {
                var var365 = new CLS_AwardItem(); var365.Unserialize(ref nbs);listAward.Add(var365);
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(listAward.Count);
            foreach (var k in listAward)
            {
                k.Serialize(ref nbs);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var366 = nbs.ReadInt();
            for (int k = 0; k < var366; k++)
            {
                var var367 = new CLS_AwardItem(); var367.Unserialize(ref nbs);listAward.Add(var367);
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_MAIL_DELETE
    /// 请求 邮件删除
    /// <summary>
    public partial class C2G_Mail_Delete
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_MAIL_DELETE
    /// 返回 邮件删除
    /// <summary>
    public partial class G2C_Mail_Delete
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_MAIL_DELETEREADED
    /// 请求 邮件清理已读
    /// <summary>
    public partial class C2G_Mail_DeleteReaded
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(MailType);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out MailType);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(MailType);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out MailType);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_MAIL_DELETEREADED
    /// 返回 邮件清理已读
    /// <summary>
    public partial class G2C_Mail_DeleteReaded
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ListMail.Count);
            foreach (var k in ListMail)
            {
                k.Serialize(ref nbs);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var374 = nbs.ReadInt();
            for (int k = 0; k < var374; k++)
            {
                var var375 = new CLS_MailInfo(); var375.Unserialize(ref nbs);ListMail.Add(var375);
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ListMail.Count);
            foreach (var k in ListMail)
            {
                k.Serialize(ref nbs);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var376 = nbs.ReadInt();
            for (int k = 0; k < var376; k++)
            {
                var var377 = new CLS_MailInfo(); var377.Unserialize(ref nbs);ListMail.Add(var377);
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_MAIL_SAVE
    /// 请求 邮件保存/取消保存
    /// <summary>
    public partial class C2G_Mail_Save
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_MAIL_SAVE
    /// 返回 邮件保存/取消保存
    /// <summary>
    public partial class G2C_Mail_Save
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Id);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Id);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_MAIL_SEND
    /// 请求 邮件发送
    /// <summary>
    public partial class C2G_Mail_Send
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            MailInfoSend.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            MailInfoSend.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            MailInfoSend.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            MailInfoSend.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_MAIL_SEND
    /// 返回 邮件发送
    /// <summary>
    public partial class G2C_Mail_Send
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            MailInfo.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            MailInfo.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            MailInfo.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            MailInfo.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_GAME_MESSAGE
    /// 文本信息
    /// <summary>
    public partial class G2C_Game_Message
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Text);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Text);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Text);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Text);
        }
    };
    /// <summary>
    /// 聊天信息
    /// <summary>
    public partial class CLS_ChatMsg
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write((short)ChatType);
            nbs.Write(Text);
            nbs.Write(Sender);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            if (true) { var etemp = nbs.ReadShort(); ChatType = (EChatType)etemp; }
            nbs.Read(out Text);
            nbs.Read(out Sender);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_CHAT_SEND
    /// 请求 聊天信息发送
    /// <summary>
    public partial class C2G_Chat_Send
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write((short)ChatType);
            nbs.Write(Text);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            if (true) { var etemp = nbs.ReadShort(); ChatType = (EChatType)etemp; }
            nbs.Read(out Text);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write((short)ChatType);
            nbs.Write(Text);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            if (true) { var etemp = nbs.ReadShort(); ChatType = (EChatType)etemp; }
            nbs.Read(out Text);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_CHAT_SEND
    /// 返回 聊天信息发送
    /// <summary>
    public partial class G2C_Chat_Send
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_CHAT_RECEIVE
    /// 通知 聊天信息接收
    /// <summary>
    public partial class G2C_Chat_Receive
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            Msg.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            Msg.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            Msg.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            Msg.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 出口信息
    /// <summary>
    public partial class CLS_Room_InfoExit
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Dir);
            nbs.Write(RoomUid);
            nbs.Write(RoomConfigId);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Dir);
            nbs.Read(out RoomUid);
            nbs.Read(out RoomConfigId);
        }
    };
    /// <summary>
    /// 玩家信息
    /// <summary>
    public partial class CLS_Room_InfoPlayer
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Puid);
            nbs.Write(Name);
            nbs.Write(Desc);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Puid);
            nbs.Read(out Name);
            nbs.Read(out Desc);
        }
    };
    /// <summary>
    /// 房间信息
    /// <summary>
    public partial class CLS_Room_InfoRoom
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Uid);
            nbs.Write(ConfigId);
            nbs.Write(ListExit.Count);
            foreach (var k in ListExit)
            {
                k.Serialize(ref nbs);
            }
            nbs.Write(DictItem.Count);
            foreach (var kvp in DictItem)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictEquip.Count);
            foreach (var kvp in DictEquip)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictNpc.Count);
            foreach (var kvp in DictNpc)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictPlayer.Count);
            foreach (var kvp in DictPlayer)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Uid);
            nbs.Read(out ConfigId);
            int var405 = nbs.ReadInt();
            for (int k = 0; k < var405; k++)
            {
                var var406 = new CLS_Room_InfoExit(); var406.Unserialize(ref nbs);ListExit.Add(var406);
            }
            int var407 = nbs.ReadInt();
            for (int k = 0; k < var407; k++)
            {
                string var408 = nbs.ReadString(); var var409 = new CLS_Item_Info(); var409.Unserialize(ref nbs); DictItem.Add(var408, var409); 
            }
            int var410 = nbs.ReadInt();
            for (int k = 0; k < var410; k++)
            {
                long var411 = nbs.ReadLong(); var var412 = new CLS_Equip_Info(); var412.Unserialize(ref nbs); DictEquip.Add(var411, var412); 
            }
            int var413 = nbs.ReadInt();
            for (int k = 0; k < var413; k++)
            {
                long var414 = nbs.ReadLong(); var var415 = new CLS_Room_InfoNpc(); var415.Unserialize(ref nbs); DictNpc.Add(var414, var415); 
            }
            int var416 = nbs.ReadInt();
            for (int k = 0; k < var416; k++)
            {
                long var417 = nbs.ReadLong(); var var418 = new CLS_Room_InfoPlayer(); var418.Unserialize(ref nbs); DictPlayer.Add(var417, var418); 
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_ROOM_INFO
    /// 请求 房间信息
    /// <summary>
    public partial class C2G_Room_Info
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_ROOM_INFO
    /// 返回 推送 房间信息
    /// <summary>
    public partial class G2C_Room_Info
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            RoomInfo.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            RoomInfo.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            RoomInfo.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            RoomInfo.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_ROOM_ROOMTHING
    /// 返回 推送 房间内容
    /// <summary>
    public partial class G2C_Room_RoomThing
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            RoomInfo.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            RoomInfo.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            RoomInfo.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            RoomInfo.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_ROOM_FLY
    /// 请求 飞
    /// <summary>
    public partial class C2G_Room_Fly
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(City);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out City);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(City);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out City);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_ROOM_FLY
    /// 返回 飞
    /// <summary>
    public partial class G2C_Room_Fly
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(City);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out City);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(City);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out City);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_ROOM_GO
    /// 请求 移动
    /// <summary>
    public partial class C2G_Room_Go
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Dir);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Dir);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Dir);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Dir);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_ROOM_GO
    /// 返回 飞
    /// <summary>
    public partial class G2C_Room_Go
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Dir);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Dir);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Dir);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Dir);
        }
    };
    /// <summary>
    /// 道具信息
    /// <summary>
    public partial class CLS_Item_Info
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(ConfigId);
            nbs.Write(Count);
            nbs.Write(Name);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out ConfigId);
            nbs.Read(out Count);
            nbs.Read(out Name);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_ITEM_GET
    /// 请求 拾取
    /// <summary>
    public partial class C2G_Item_Get
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ConfigId);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out ConfigId);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ConfigId);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out ConfigId);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_ITEM_GET
    /// 返回 拾取
    /// <summary>
    public partial class G2C_Item_Get
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ConfigId);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out ConfigId);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ConfigId);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out ConfigId);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_ITEM_DROP
    /// 请求 丢弃
    /// <summary>
    public partial class C2G_Item_Drop
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ConfigId);
            nbs.Write(Amount);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out ConfigId);
            nbs.Read(out Amount);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ConfigId);
            nbs.Write(Amount);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out ConfigId);
            nbs.Read(out Amount);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_ITEM_DROP
    /// 返回 丢弃
    /// <summary>
    public partial class G2C_Item_Drop
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ConfigId);
            nbs.Write(Amount);
            nbs.Write(DictItem.Count);
            foreach (var kvp in DictItem)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out ConfigId);
            nbs.Read(out Amount);
            int var444 = nbs.ReadInt();
            for (int k = 0; k < var444; k++)
            {
                string var445 = nbs.ReadString(); var var446 = new CLS_Item_Info(); var446.Unserialize(ref nbs); DictItem.Add(var445, var446); 
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ConfigId);
            nbs.Write(Amount);
            nbs.Write(DictItem.Count);
            foreach (var kvp in DictItem)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out ConfigId);
            nbs.Read(out Amount);
            int var449 = nbs.ReadInt();
            for (int k = 0; k < var449; k++)
            {
                string var450 = nbs.ReadString(); var var451 = new CLS_Item_Info(); var451.Unserialize(ref nbs); DictItem.Add(var450, var451); 
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_ITEM_USE
    /// 请求 使用
    /// <summary>
    public partial class C2G_Item_Use
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ConfigId);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out ConfigId);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ConfigId);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out ConfigId);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_ITEM_USE
    /// 返回 使用
    /// <summary>
    public partial class G2C_Item_Use
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ConfigId);
            nbs.Write(DictItem.Count);
            foreach (var kvp in DictItem)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out ConfigId);
            int var455 = nbs.ReadInt();
            for (int k = 0; k < var455; k++)
            {
                string var456 = nbs.ReadString(); var var457 = new CLS_Item_Info(); var457.Unserialize(ref nbs); DictItem.Add(var456, var457); 
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(ConfigId);
            nbs.Write(DictItem.Count);
            foreach (var kvp in DictItem)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out ConfigId);
            int var459 = nbs.ReadInt();
            for (int k = 0; k < var459; k++)
            {
                string var460 = nbs.ReadString(); var var461 = new CLS_Item_Info(); var461.Unserialize(ref nbs); DictItem.Add(var460, var461); 
            }
        }
    };
    /// <summary>
    /// 装备信息
    /// <summary>
    public partial class CLS_Equip_Info
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Uid);
            nbs.Write(ConfigId);
            nbs.Write(Name);
            nbs.Write(Wear);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Uid);
            nbs.Read(out ConfigId);
            nbs.Read(out Name);
            nbs.Read(out Wear);
        }
    };
    /// <summary>
    /// 装备信息
    /// <summary>
    public partial class CLS_Equip_InfoAll
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Uid);
            nbs.Write(ConfigId);
            nbs.Write(Name);
            nbs.Write(Desc);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Uid);
            nbs.Read(out ConfigId);
            nbs.Read(out Name);
            nbs.Read(out Desc);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_EQUIP_GET
    /// 请求 拾取
    /// <summary>
    public partial class C2G_Equip_Get
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_EQUIP_GET
    /// 返回 拾取
    /// <summary>
    public partial class G2C_Equip_Get
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_EQUIP_INFOROOM
    /// 请求 查看
    /// <summary>
    public partial class C2G_Equip_InfoRoom
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_EQUIP_INFOROOM
    /// 返回 查看
    /// <summary>
    public partial class G2C_Equip_InfoRoom
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            Info.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            Info.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            Info.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            Info.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_EQUIP_INFOINV
    /// 请求 查看
    /// <summary>
    public partial class C2G_Equip_InfoInv
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_EQUIP_INFOINV
    /// 返回 查看
    /// <summary>
    public partial class G2C_Equip_InfoInv
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            Info.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            Info.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            Info.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            Info.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_EQUIP_DROP
    /// 请求 丢弃
    /// <summary>
    public partial class C2G_Equip_Drop
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_EQUIP_DROP
    /// 返回 丢弃
    /// <summary>
    public partial class G2C_Equip_Drop
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
            nbs.Write(DictEquip.Count);
            foreach (var kvp in DictEquip)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictWear.Count);
            foreach (var kvp in DictWear)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
            int var485 = nbs.ReadInt();
            for (int k = 0; k < var485; k++)
            {
                long var486 = nbs.ReadLong(); var var487 = new CLS_Equip_Info(); var487.Unserialize(ref nbs); DictEquip.Add(var486, var487); 
            }
            int var488 = nbs.ReadInt();
            for (int k = 0; k < var488; k++)
            {
                int var489 = nbs.ReadInt(); long var490 = nbs.ReadLong(); DictWear.Add(var489, var490); 
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
            nbs.Write(DictEquip.Count);
            foreach (var kvp in DictEquip)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictWear.Count);
            foreach (var kvp in DictWear)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
            int var492 = nbs.ReadInt();
            for (int k = 0; k < var492; k++)
            {
                long var493 = nbs.ReadLong(); var var494 = new CLS_Equip_Info(); var494.Unserialize(ref nbs); DictEquip.Add(var493, var494); 
            }
            int var495 = nbs.ReadInt();
            for (int k = 0; k < var495; k++)
            {
                int var496 = nbs.ReadInt(); long var497 = nbs.ReadLong(); DictWear.Add(var496, var497); 
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_EQUIP_WEAR
    /// 请求 装备
    /// <summary>
    public partial class C2G_Equip_Wear
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_EQUIP_WEAR
    /// 返回 装备
    /// <summary>
    public partial class G2C_Equip_Wear
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(DictEquip.Count);
            foreach (var kvp in DictEquip)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictWear.Count);
            foreach (var kvp in DictWear)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var500 = nbs.ReadInt();
            for (int k = 0; k < var500; k++)
            {
                long var501 = nbs.ReadLong(); var var502 = new CLS_Equip_Info(); var502.Unserialize(ref nbs); DictEquip.Add(var501, var502); 
            }
            int var503 = nbs.ReadInt();
            for (int k = 0; k < var503; k++)
            {
                int var504 = nbs.ReadInt(); long var505 = nbs.ReadLong(); DictWear.Add(var504, var505); 
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(DictEquip.Count);
            foreach (var kvp in DictEquip)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictWear.Count);
            foreach (var kvp in DictWear)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var506 = nbs.ReadInt();
            for (int k = 0; k < var506; k++)
            {
                long var507 = nbs.ReadLong(); var var508 = new CLS_Equip_Info(); var508.Unserialize(ref nbs); DictEquip.Add(var507, var508); 
            }
            int var509 = nbs.ReadInt();
            for (int k = 0; k < var509; k++)
            {
                int var510 = nbs.ReadInt(); long var511 = nbs.ReadLong(); DictWear.Add(var510, var511); 
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_EQUIP_CHANGE
    /// 请求 装备
    /// <summary>
    public partial class C2G_Equip_Change
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Type);
            nbs.Write(Uid);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Type);
            nbs.Read(out Uid);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Type);
            nbs.Write(Uid);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Type);
            nbs.Read(out Uid);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_EQUIP_CHANGE
    /// 返回 装备
    /// <summary>
    public partial class G2C_Equip_Change
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(DictEquip.Count);
            foreach (var kvp in DictEquip)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictWear.Count);
            foreach (var kvp in DictWear)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var516 = nbs.ReadInt();
            for (int k = 0; k < var516; k++)
            {
                long var517 = nbs.ReadLong(); var var518 = new CLS_Equip_Info(); var518.Unserialize(ref nbs); DictEquip.Add(var517, var518); 
            }
            int var519 = nbs.ReadInt();
            for (int k = 0; k < var519; k++)
            {
                int var520 = nbs.ReadInt(); long var521 = nbs.ReadLong(); DictWear.Add(var520, var521); 
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(DictEquip.Count);
            foreach (var kvp in DictEquip)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictWear.Count);
            foreach (var kvp in DictWear)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var522 = nbs.ReadInt();
            for (int k = 0; k < var522; k++)
            {
                long var523 = nbs.ReadLong(); var var524 = new CLS_Equip_Info(); var524.Unserialize(ref nbs); DictEquip.Add(var523, var524); 
            }
            int var525 = nbs.ReadInt();
            for (int k = 0; k < var525; k++)
            {
                int var526 = nbs.ReadInt(); long var527 = nbs.ReadLong(); DictWear.Add(var526, var527); 
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_EQUIP_UNWEAR
    /// 请求 卸下
    /// <summary>
    public partial class C2G_Equip_Unwear
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_EQUIP_UNWEAR
    /// 返回 卸下
    /// <summary>
    public partial class G2C_Equip_Unwear
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(DictEquip.Count);
            foreach (var kvp in DictEquip)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictWear.Count);
            foreach (var kvp in DictWear)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var530 = nbs.ReadInt();
            for (int k = 0; k < var530; k++)
            {
                long var531 = nbs.ReadLong(); var var532 = new CLS_Equip_Info(); var532.Unserialize(ref nbs); DictEquip.Add(var531, var532); 
            }
            int var533 = nbs.ReadInt();
            for (int k = 0; k < var533; k++)
            {
                int var534 = nbs.ReadInt(); long var535 = nbs.ReadLong(); DictWear.Add(var534, var535); 
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(DictEquip.Count);
            foreach (var kvp in DictEquip)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictWear.Count);
            foreach (var kvp in DictWear)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var536 = nbs.ReadInt();
            for (int k = 0; k < var536; k++)
            {
                long var537 = nbs.ReadLong(); var var538 = new CLS_Equip_Info(); var538.Unserialize(ref nbs); DictEquip.Add(var537, var538); 
            }
            int var539 = nbs.ReadInt();
            for (int k = 0; k < var539; k++)
            {
                int var540 = nbs.ReadInt(); long var541 = nbs.ReadLong(); DictWear.Add(var540, var541); 
            }
        }
    };
    /// <summary>
    /// NPC信息
    /// <summary>
    public partial class CLS_Room_InfoNpc
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Uid);
            nbs.Write(ConfigId);
            nbs.Write(Name);
            nbs.Write(Long);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Uid);
            nbs.Read(out ConfigId);
            nbs.Read(out Name);
            nbs.Read(out Long);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_NPC_LOOK
    /// 请求 查看
    /// <summary>
    public partial class C2G_Npc_Look
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_NPC_LOOK
    /// 返回 查看
    /// <summary>
    public partial class G2C_Npc_Look
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_NPC_KILL
    /// 请求 攻击
    /// <summary>
    public partial class C2G_Npc_Kill
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_NPC_KILL
    /// 返回 攻击
    /// <summary>
    public partial class G2C_Npc_Kill
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
    };
    /// <summary>
    /// 角色信息score
    /// <summary>
    public partial class CLS_InfoScore
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Puid);
            nbs.Write(Gem);
            nbs.Write(Gold);
            nbs.Write(Pot);
            nbs.Write(VipLevel);
            nbs.Write(VipExp);
            nbs.Write(Name);
            nbs.Write(Gender);
            nbs.Write(Family);
            nbs.Write(Title);
            nbs.Write(Age);
            nbs.Write(Level);
            nbs.Write(Exp);
            nbs.Write(DictProp.Count);
            foreach (var kvp in DictProp)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
            nbs.Write(DictPropCbt.Count);
            foreach (var kvp in DictPropCbt)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Puid);
            nbs.Read(out Gem);
            nbs.Read(out Gold);
            nbs.Read(out Pot);
            nbs.Read(out VipLevel);
            nbs.Read(out VipExp);
            nbs.Read(out Name);
            nbs.Read(out Gender);
            nbs.Read(out Family);
            nbs.Read(out Title);
            nbs.Read(out Age);
            nbs.Read(out Level);
            nbs.Read(out Exp);
            int var567 = nbs.ReadInt();
            for (int k = 0; k < var567; k++)
            {
                int var568 = nbs.ReadInt(); int var569 = nbs.ReadInt(); DictProp.Add(var568, var569); 
            }
            int var570 = nbs.ReadInt();
            for (int k = 0; k < var570; k++)
            {
                int var571 = nbs.ReadInt(); long var572 = nbs.ReadLong(); DictPropCbt.Add(var571, var572); 
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_CHAR_SCORE
    /// 请求 角色属性
    /// <summary>
    public partial class C2G_Char_Score
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_CHAR_SCORE
    /// 返回 角色属性
    /// <summary>
    public partial class G2C_Char_Score
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            InfoScore.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            InfoScore.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            InfoScore.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            InfoScore.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 挂机信息
    /// <summary>
    public partial class CLS_InfoOffline
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(OfflineMode);
            nbs.Write(OfflineTime);
            nbs.Write(OfflineTs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out OfflineMode);
            nbs.Read(out OfflineTime);
            nbs.Read(out OfflineTs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_CHAR_OFFLINEINFO
    /// 请求 挂机信息
    /// <summary>
    public partial class C2G_Char_OfflineInfo
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_CHAR_OFFLINEINFO
    /// 返回 挂机信息
    /// <summary>
    public partial class G2C_Char_OfflineInfo
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            InfoOffline.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            InfoOffline.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            InfoOffline.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            InfoOffline.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_CHAR_OFFLINE
    /// 请求 挂机
    /// <summary>
    public partial class C2G_Char_Offline
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(OfflineMode);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out OfflineMode);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(OfflineMode);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out OfflineMode);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_CHAR_OFFLINE
    /// 返回 挂机
    /// <summary>
    public partial class G2C_Char_Offline
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(OfflineMode);
            InfoOffline.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out OfflineMode);
            InfoOffline.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(OfflineMode);
            InfoOffline.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out OfflineMode);
            InfoOffline.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_CHAR_LOOK
    /// 请求 查看
    /// <summary>
    public partial class C2G_Char_Look
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_CHAR_LOOK
    /// 返回 查看
    /// <summary>
    public partial class G2C_Char_Look
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Uid);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Uid);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_CHAR_INV
    /// 请求 背包
    /// <summary>
    public partial class C2G_Char_Inv
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_CHAR_INV
    /// 返回 背包
    /// <summary>
    public partial class G2C_Char_Inv
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(DictItem.Count);
            foreach (var kvp in DictItem)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictEquip.Count);
            foreach (var kvp in DictEquip)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictWear.Count);
            foreach (var kvp in DictWear)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var590 = nbs.ReadInt();
            for (int k = 0; k < var590; k++)
            {
                string var591 = nbs.ReadString(); var var592 = new CLS_Item_Info(); var592.Unserialize(ref nbs); DictItem.Add(var591, var592); 
            }
            int var593 = nbs.ReadInt();
            for (int k = 0; k < var593; k++)
            {
                long var594 = nbs.ReadLong(); var var595 = new CLS_Equip_Info(); var595.Unserialize(ref nbs); DictEquip.Add(var594, var595); 
            }
            int var596 = nbs.ReadInt();
            for (int k = 0; k < var596; k++)
            {
                int var597 = nbs.ReadInt(); long var598 = nbs.ReadLong(); DictWear.Add(var597, var598); 
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(DictItem.Count);
            foreach (var kvp in DictItem)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictEquip.Count);
            foreach (var kvp in DictEquip)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictWear.Count);
            foreach (var kvp in DictWear)
            {
                nbs.Write(kvp.Key);nbs.Write(kvp.Value);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var599 = nbs.ReadInt();
            for (int k = 0; k < var599; k++)
            {
                string var600 = nbs.ReadString(); var var601 = new CLS_Item_Info(); var601.Unserialize(ref nbs); DictItem.Add(var600, var601); 
            }
            int var602 = nbs.ReadInt();
            for (int k = 0; k < var602; k++)
            {
                long var603 = nbs.ReadLong(); var var604 = new CLS_Equip_Info(); var604.Unserialize(ref nbs); DictEquip.Add(var603, var604); 
            }
            int var605 = nbs.ReadInt();
            for (int k = 0; k < var605; k++)
            {
                int var606 = nbs.ReadInt(); long var607 = nbs.ReadLong(); DictWear.Add(var606, var607); 
            }
        }
    };
    /// <summary>
    /// 技能信息
    /// <summary>
    public partial class CLS_InfoSkill
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Id);
            nbs.Write(Level);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Id);
            nbs.Read(out Level);
        }
    };
    /// <summary>
    /// 激发信息
    /// <summary>
    public partial class CLS_InfoUsage
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Usage);
            nbs.Write(Skill);
            nbs.Write(Level);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Usage);
            nbs.Read(out Skill);
            nbs.Read(out Level);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_SKILL_LIST
    /// 请求 技能列表
    /// <summary>
    public partial class C2G_Skill_List
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_SKILL_LIST
    /// 返回 技能列表
    /// <summary>
    public partial class G2C_Skill_List
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(DictSkill.Count);
            foreach (var kvp in DictSkill)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictUsage.Count);
            foreach (var kvp in DictUsage)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(ListSkill.Count);
            foreach (var k in ListSkill)
            {
                k.Serialize(ref nbs);
            }
            nbs.Write(ListUsage.Count);
            foreach (var k in ListUsage)
            {
                k.Serialize(ref nbs);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var613 = nbs.ReadInt();
            for (int k = 0; k < var613; k++)
            {
                string var614 = nbs.ReadString(); var var615 = new CLS_InfoSkill(); var615.Unserialize(ref nbs); DictSkill.Add(var614, var615); 
            }
            int var616 = nbs.ReadInt();
            for (int k = 0; k < var616; k++)
            {
                string var617 = nbs.ReadString(); var var618 = new CLS_InfoUsage(); var618.Unserialize(ref nbs); DictUsage.Add(var617, var618); 
            }
            int var619 = nbs.ReadInt();
            for (int k = 0; k < var619; k++)
            {
                var var620 = new CLS_InfoSkill(); var620.Unserialize(ref nbs);ListSkill.Add(var620);
            }
            int var621 = nbs.ReadInt();
            for (int k = 0; k < var621; k++)
            {
                var var622 = new CLS_InfoUsage(); var622.Unserialize(ref nbs);ListUsage.Add(var622);
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(DictSkill.Count);
            foreach (var kvp in DictSkill)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(DictUsage.Count);
            foreach (var kvp in DictUsage)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(ListSkill.Count);
            foreach (var k in ListSkill)
            {
                k.Serialize(ref nbs);
            }
            nbs.Write(ListUsage.Count);
            foreach (var k in ListUsage)
            {
                k.Serialize(ref nbs);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            int var623 = nbs.ReadInt();
            for (int k = 0; k < var623; k++)
            {
                string var624 = nbs.ReadString(); var var625 = new CLS_InfoSkill(); var625.Unserialize(ref nbs); DictSkill.Add(var624, var625); 
            }
            int var626 = nbs.ReadInt();
            for (int k = 0; k < var626; k++)
            {
                string var627 = nbs.ReadString(); var var628 = new CLS_InfoUsage(); var628.Unserialize(ref nbs); DictUsage.Add(var627, var628); 
            }
            int var629 = nbs.ReadInt();
            for (int k = 0; k < var629; k++)
            {
                var var630 = new CLS_InfoSkill(); var630.Unserialize(ref nbs);ListSkill.Add(var630);
            }
            int var631 = nbs.ReadInt();
            for (int k = 0; k < var631; k++)
            {
                var var632 = new CLS_InfoUsage(); var632.Unserialize(ref nbs);ListUsage.Add(var632);
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_SKILL_LEVELUP
    /// 请求 技能升级
    /// <summary>
    public partial class C2G_Skill_Levelup
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(SkillId);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out SkillId);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(SkillId);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out SkillId);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_SKILL_LEVELUP
    /// 返回 技能升级
    /// <summary>
    public partial class G2C_Skill_Levelup
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(SkillId);
            Skill.Serialize(ref nbs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out SkillId);
            Skill.Unserialize(ref nbs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(SkillId);
            Skill.Serialize(ref nbs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out SkillId);
            Skill.Unserialize(ref nbs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> C2G_SKILL_USAGEUSE
    /// 请求 激发
    /// <summary>
    public partial class C2G_Skill_UsageUse
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Usage);
            nbs.Write(Skill);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Usage);
            nbs.Read(out Skill);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Usage);
            nbs.Write(Skill);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Usage);
            nbs.Read(out Skill);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2C_SKILL_USAGEUSE
    /// 返回 激发
    /// <summary>
    public partial class G2C_Skill_UsageUse
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Usage);
            nbs.Write(Skill);
            nbs.Write(DictUsage.Count);
            foreach (var kvp in DictUsage)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(ListUsage.Count);
            foreach (var k in ListUsage)
            {
                k.Serialize(ref nbs);
            }
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Usage);
            nbs.Read(out Skill);
            int var645 = nbs.ReadInt();
            for (int k = 0; k < var645; k++)
            {
                string var646 = nbs.ReadString(); var var647 = new CLS_InfoUsage(); var647.Unserialize(ref nbs); DictUsage.Add(var646, var647); 
            }
            int var648 = nbs.ReadInt();
            for (int k = 0; k < var648; k++)
            {
                var var649 = new CLS_InfoUsage(); var649.Unserialize(ref nbs);ListUsage.Add(var649);
            }
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(Usage);
            nbs.Write(Skill);
            nbs.Write(DictUsage.Count);
            foreach (var kvp in DictUsage)
            {
                nbs.Write(kvp.Key);kvp.Value.Serialize(ref nbs);
            }
            nbs.Write(ListUsage.Count);
            foreach (var k in ListUsage)
            {
                k.Serialize(ref nbs);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out Usage);
            nbs.Read(out Skill);
            int var652 = nbs.ReadInt();
            for (int k = 0; k < var652; k++)
            {
                string var653 = nbs.ReadString(); var var654 = new CLS_InfoUsage(); var654.Unserialize(ref nbs); DictUsage.Add(var653, var654); 
            }
            int var655 = nbs.ReadInt();
            for (int k = 0; k < var655; k++)
            {
                var var656 = new CLS_InfoUsage(); var656.Unserialize(ref nbs);ListUsage.Add(var656);
            }
        }
    };
    /// <summary>
    /// 对应协议枚举-> B2T_GT_START
    /// 返回 激发
    /// <summary>
    public partial class B2T_Gt_Start
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 对应协议枚举-> B2G_GT_ACTION
    /// 请求 GM功能
    /// <summary>
    public partial class B2G_Gt_Action
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(GtAction);
            nbs.Write(GtArgs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out GtAction);
            nbs.Read(out GtArgs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(GtAction);
            nbs.Write(GtArgs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out GtAction);
            nbs.Read(out GtArgs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> G2B_GT_ACTION
    /// 请求 GM功能
    /// <summary>
    public partial class G2B_Gt_Action
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(GtAction);
            nbs.Write(GtArgs);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out GtAction);
            nbs.Read(out GtArgs);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.Write(GtAction);
            nbs.Write(GtArgs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
            nbs.Read(out GtAction);
            nbs.Read(out GtArgs);
        }
    };
    /// <summary>
    /// WebGm协议
    /// <summary>
    public partial class CLS_WebGm
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Account);
            nbs.Write(GtAction);
            nbs.Write(GtArgs);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Account);
            nbs.Read(out GtAction);
            nbs.Read(out GtArgs);
        }
    };
    /// <summary>
    /// 对应协议枚举-> B2T_GT_END
    /// WebGm协议
    /// <summary>
    public partial class B2T_Gt_End
    {
        public override NetBitStream Serialize()
        {
            NetBitStream nbs = new NetBitStream();
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
            nbs.WriteEnd();
            return nbs;
        }
        public override void Unserialize(byte[] buffer)
        {
            NetBitStream nbs = new NetBitStream();
            nbs.BeginRead(buffer);
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(_protocol);
            nbs.Write(_result);
            nbs.Write(Pin);
            nbs.Write(Puid);
            nbs.Write(Shuttle);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out _protocol);
            nbs.Read(out _result);
            nbs.Read(out Pin);
            nbs.Read(out Puid);
            nbs.Read(out Shuttle);
        }
    };
    /// <summary>
    /// 服务器信息
    /// <summary>
    public partial class CLS_GtServerInfo
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(ConfigId);
            nbs.Write(ProcessId);
            nbs.Write(Cpu);
            nbs.Write(Memory);
            nbs.Write(Threads);
            nbs.Write(RestrictLogin);
            nbs.Write(CountOnline);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out ConfigId);
            nbs.Read(out ProcessId);
            nbs.Read(out Cpu);
            nbs.Read(out Memory);
            nbs.Read(out Threads);
            nbs.Read(out RestrictLogin);
            nbs.Read(out CountOnline);
        }
    };
    /// <summary>
    /// 上传配置文件
    /// <summary>
    public partial class CLS_GtUploadConfig
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(FileName);
            nbs.Write(FileText);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out FileName);
            nbs.Read(out FileText);
        }
    };
    /// <summary>
    /// GM公告
    /// <summary>
    public partial class CLS_GtNotice
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(NoticeSystem);
            nbs.Write(NoticeActivity);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out NoticeSystem);
            nbs.Read(out NoticeActivity);
        }
    };
    /// <summary>
    /// GM走马灯
    /// <summary>
    public partial class CLS_GtNoticeRolling
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Uid);
            nbs.Write(Text);
            nbs.Write(Count);
            nbs.Write(TimeSend);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Uid);
            nbs.Read(out Text);
            nbs.Read(out Count);
            nbs.Read(out TimeSend);
        }
    };
    /// <summary>
    /// GM邮件
    /// <summary>
    public partial class CLS_GtMail
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Uid);
            nbs.Write((short)MailType);
            nbs.Write(ListTarget.Count);
            foreach (var k in ListTarget)
            {
                nbs.Write(k);
            }
            nbs.Write(Title);
            nbs.Write(Body);
            nbs.Write(SenderName);
            nbs.Write(CreateTime);
            nbs.Write(AllTimeReceive);
            nbs.Write(ListAttachments.Count);
            foreach (var k in ListAttachments)
            {
                k.Serialize(ref nbs);
            }
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Uid);
            if (true) { var etemp = nbs.ReadShort(); MailType = (EMailType)etemp; }
            int var685 = nbs.ReadInt();
            for (int k = 0; k < var685; k++)
            {
                long var686 = nbs.ReadLong();ListTarget.Add(var686);
            }
            nbs.Read(out Title);
            nbs.Read(out Body);
            nbs.Read(out SenderName);
            nbs.Read(out CreateTime);
            nbs.Read(out AllTimeReceive);
            int var692 = nbs.ReadInt();
            for (int k = 0; k < var692; k++)
            {
                var var693 = new CLS_AwardItem(); var693.Unserialize(ref nbs);ListAttachments.Add(var693);
            }
        }
    };
    /// <summary>
    /// 玩家账号信息
    /// <summary>
    public partial class CLS_GtPlayerInfoUser
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Puid);
            nbs.Write(Uuid);
            nbs.Write(Platform);
            nbs.Write(Account);
            nbs.Write(Password);
            nbs.Write(TimeRegister);
            nbs.Write(TimeLogin);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Puid);
            nbs.Read(out Uuid);
            nbs.Read(out Platform);
            nbs.Read(out Account);
            nbs.Read(out Password);
            nbs.Read(out TimeRegister);
            nbs.Read(out TimeLogin);
        }
    };
    /// <summary>
    /// 玩家数据修改
    /// <summary>
    public partial class CLS_GtPlayerEdit
    {
        public void Serialize(ref NetBitStream nbs)
        {
            nbs.Write(Puid);
            nbs.Write(EditMode);
            nbs.Write(EditArg);
        }
        public void Unserialize(ref NetBitStream nbs)
        {
            nbs.Read(out Puid);
            nbs.Read(out EditMode);
            nbs.Read(out EditArg);
        }
    };

}

